class Category < ActiveRecord::Base
  validates_presence_of :category_name
  validates_uniqueness_of :category_name
  validates_length_of :category_name, :within => 2..255

  has_many :items
  has_many :subcategories
  
end
